/*
 * Main.fx
 *
 * Created on 2009-08-31, 12:59:35
 */

package shmallarchitect.gui;

import javafx.stage.Stage;
import javafx.scene.Scene;
import javafx.scene.Group;


/**
 * @author Administrator
 */


insert BaseLayout.baselocum into BaseLayout.local_list;
insert BaseLayout.baseowner into BaseLayout.owner_list;
insert BaseLayout.baseresource into BaseLayout.resource_list;

var edits = EditDetails {}
var displays = DisplayLocum{}
var editowner = OwnerUtil.editOwner{};
var editresource = ResourceUtil{};

var stage = Stage {
    title: "shMall gallery"
    width: 1100
    height: 800
    onClose: function() { java.lang.System.exit(0); }
    scene: Scene {
        content: [
        Group {
            content: [
                    BaseLayout {}, edits, displays, editowner, editresource,
                     ]
        }
    
    ]

    }
}

insert BaseLayout.board into stage.scene.content;


//var addlocum = AddLocum {visible: not BaseLayout.mode };
//insert addlocum into stage.scene.content;